//package cn.ycl.system.other.study.netty.nettyServer;
//
//import io.netty.channel.ChannelInitializer;
//import io.netty.channel.ChannelPipeline;
//import io.netty.channel.socket.SocketChannel;
//
///**
// * @Author YuanChangLiang
// * @Date 2021/1/19 10:53
// */
//public class NettyServerInitializer extends ChannelInitializer<SocketChannel> {
//    @Override
//    protected void initChannel(SocketChannel socketChannel) throws Exception {
//        ChannelPipeline pipeline = socketChannel.pipeline();
//        //添加入站的handler进行解码NettyByteToLongDecoder
//        pipeline.addLast(new NettyByteToLongDecoder());
//
//    }
//}
